Skip to content

feat: add @opentelemetry/browser package#288

Draft
david-luna wants to merge 30 commits into
open-telemetry:feature/sdk-packagefrom
david-luna:otel-browser
Draft

feat: add @opentelemetry/browser package#288
david-luna wants to merge 30 commits into
open-telemetry:feature/sdk-packagefrom
david-luna:otel-browser

Conversation

@david-luna
Copy link
Copy Markdown
Contributor

@david-luna david-luna commented May 22, 2026

Which problem is this PR solving?

Follow up on #224. This PR is now targeting a feature branch so we can break down the implementation in smaller PRs and merge it to main once its ready.

Short description of the changes

  • add a new @opentelemetry/browser package
  • all comment in the prior PR were resolved except feat: add @opentelemetry/browser package #224 (comment)
  • for this last comment the package now exports startBrowserSdk function instead of the combine utility. The reason is there is no other use case. Either you start one single SDK or both. The combine function stays internal until we decide to add a third signal (metrics).

This PR aims to define the main API to configure the signals (logs, traces) separate and together. Also it explores on how to provide a flexible way for defaults without having to pay the toll on bundle size.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

  • Unit tests

Checklist:

  • Followed the style guidelines of this project
  • Unit tests have been added
  • Documentation has been updated

david-luna and others added 30 commits March 31, 2026 11:50
Co-authored-by: Jared Freeze <overbalance@users.noreply.github.com>
Co-authored-by: Jared Freeze <overbalance@users.noreply.github.com>
Co-authored-by: Jared Freeze <overbalance@users.noreply.github.com>
Co-authored-by: Jared Freeze <overbalance@users.noreply.github.com>
Co-authored-by: Jared Freeze <overbalance@users.noreply.github.com>
Co-authored-by: Jared Freeze <overbalance@users.noreply.github.com>
@david-luna david-luna requested a review from a team as a code owner May 22, 2026 17:11
@david-luna david-luna changed the title Otel browser feat: add @opentelemetry/browser package May 22, 2026
@david-luna david-luna marked this pull request as draft May 22, 2026 17:16
@david-luna
Copy link
Copy Markdown
Contributor Author

converted to draft in order to keep the squash and merge button disabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants